package com.openlogic.api.logic.po;

import org.noear.solon.validation.annotation.NotNull;

import com.mybatisflex.annotation.Column;
import com.openlogic.common.core.web.domain.BaseEntity;

/**
 * @ClassName: RuleModelNodeMergePo
 * @Description: 规则参数与节点关联 持久化对象
 * @author weiyongpeng
 * @date 2024年9月16日 上午8:55:55
 */
public class RuleModelNodeMergePo extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 规则ID
	 */
	@NotNull(message = "规则ID不能为空")
	@Column("RULE_ID")
	private String ruleId;

	/**
	 * 节点ID
	 */
	@NotNull(message = "节点ID不能为空")
	@Column("NODE_ID")
	private String nodeId;

	/**
	 * 规则参数ID
	 */
	@NotNull(message = "规则参数ID不能为空")
	@Column("RULE_FACT_ID")
	private String ruleFactId;

	/**
	 * 变量适用范围 0 公共，1私有
	 */
	@Column("MODEL_SCOPE_TYPE")
	private String modelScopeType;

	public void setRuleId(String ruleId) {
		this.ruleId = ruleId;
	}

	public String getRuleId() {
		return ruleId;
	}

	public void setNodeId(String nodeId) {
		this.nodeId = nodeId;
	}

	public String getNodeId() {
		return nodeId;
	}

	public void setRuleFactId(String ruleFactId) {
		this.ruleFactId = ruleFactId;
	}

	public String getRuleFactId() {
		return ruleFactId;
	}

	public String getModelScopeType() {
		return modelScopeType;
	}

	public void setModelScopeType(String modelScopeType) {
		this.modelScopeType = modelScopeType;
	}

}